package com.qk.dto.user;

import lombok.Data;

@Data
public class UserDTO {
    private String name;
    private Integer status;
    private String phone;
    private Integer deptId;
    private Integer page = 1;
    private Integer pageSize = 10;
    
    public Integer getPageOffset() {
        if (page != null && pageSize != null) {
            return (page - 1) * pageSize;
        }
        return 0;
    }
}